//
//  ActivityModel.m
//  小汽车
//
//  Created by 杜远洋 on 14-12-29.
//  Copyright (c) 2014年 蓝欧科技. All rights reserved.
//

#import "ActivityModel.h"

@implementation ActivityModel
- (void)dealloc
{
    [_event_endtime release];
    [_event_link release];
    [_event_place release];
    [_event_smallimg release];
    [_event_title release];

  
    [super dealloc];
}

+(instancetype)activityWithEvent_title:(NSString *)event_title event_link:(NSString *)event_link{
    ActivityModel *model = [[[ActivityModel alloc]initWithEvent_title:event_title event_link:event_link]autorelease];
    return model;
}
- (instancetype)initWithEvent_title:(NSString *)event_title event_link:(NSString *)event_link
{
    self = [super init];
    if (self) {
        self.event_title = event_title;
        self.event_link = event_link;
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(id)valueForUndefinedKey:(NSString *)key
{
    return @"";
}
@end
